<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<title>首页</title>
<head th:fragment="incHead">
    <meta charset="utf-8">
    <meta name="viewport" content="width=1180,initial-scale=0,user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="renderer" content="webkit">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link rel="shortcut icon" href="/static/papper/images/log2.png">
    <link href="/static/hplus/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/static/hplus/css/animate.css" rel="stylesheet">
    <link href="/static/hplus/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航-->
    <div th:replace="system/inc/sidebar :: incSideBar"></div>
    <!--右侧内容-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div th:replace="system/inc/navbar :: incNavBar"></div>
        <div th:replace="system/inc/tabsbar :: incTabsBar"></div>
        <div th:replace="system/inc/iframe :: incIframe"></div>
        <div th:replace="system/inc/footer :: incFooter"></div>
    </div>
</div>
<div th:replace="system/inc/incBottom :: incBottom"></div>
<script type="text/javascript" src="/static/papper/js/jquery.jspeech.js"></script>
<script type="text/javascript" src="/static/papper/js/jquery.jspeech.min.js"></script>
<div th:replace="system/inc/showMsg :: incShowMsg"></div>
<script type="text/javascript" th:inline="javascript">
    /*<![CDATA[*/
    jQuery(function ($) {
        if ($("#navMenu .selected").size() > 0) {
            var $box = $($("#navMenu .selected").attr("rel"));
            var ljUrl = $("#navMenu .selected").attr("ljUrl");
            $.ajax({
                url: ljUrl,
                type: 'GET',
                cache: false,
                data: {},
                timeout: 1000 * 20,
                success: function (data) {
                    $box.html(data);
                }
            });
        }

        $("#navMenu .sysModel").on("click", function () {
            if ($(this).hasClass("selected")) {
                return;
            }
            var oldSelected = $("#navMenu .selected");
            $(this).addClass("selected btn-success").removeClass("btn-warning");
            oldSelected.removeClass("selected btn-success").addClass("btn-warning");
            var $box = $($(this).attr("rel"));
            var ljUrl = $(this).attr("ljUrl");
            $.ajax({
                url: ljUrl,
                type: 'GET',
                cache: false,
                data: {},
                timeout: 1000 * 20,
                success: function (data) {
                    $box.html(data);
                }
            });
        });
    });
    /*]]>*/
</script>
</body>
</html>
